package tjs.study.notes.dotest.proxy.spring.lost;

public abstract class Father {
    private String userInfo = "default";

    public Father(String userInfo) {
        // 打印内容为   Final父类-有参构造函数.userInfo值为：test
        System.out.println("Final父类-有参构造函数.userInfo值为：" + userInfo);
        this.userInfo = userInfo;
    }

    public final void runFinal() {
        // 打印内容为   Final父类.userInfo值为：null
        System.out.println("Final父类.userInfo值为：" + userInfo);
    }

    public void runNotFinal() {
        // 打印内容为   NotFinal父类.userInfo值为：test
        System.out.println("NotFinal父类.userInfo值为：" + userInfo);
    }

}
